﻿<%@ Page Language="C#" MasterPageFile="~/TrangQuanLy.master" AutoEventWireup="true" CodeFile="QuanTriTaiKhoanKhachHang.aspx.cs" Inherits="QuanTriTaiKhoanKhachHang" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt">
        -&nbsp;&nbsp;&nbsp; Quản Lý Tài Khoản Khách Hàng</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />

    <table style="width:1000px;text-align:center" align="center" cellpadding="5" 
        cellspacing="0">
      <tr>
            <td colspan="2" style="text-align: center; color: #5D7B9D">
                <b style="font-size:18pt">QUẢN LÝ TÀI KHOẢN KHÁCH HÀNG</b></td>
        </tr>
        <tr>
            <td style="text-align: center">

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="KhachHangID" onrowcancelingedit="GridView1_RowCancelingEdit" 
        onrowdeleting="GridView1_RowDeleting" onrowediting="GridView1_RowEditing" 
        onrowupdating="GridView1_RowUpdating" Width="1000px" AllowPaging="True" 
                    BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                    CellPadding="4" CellSpacing="2" ForeColor="Black" 
                    onpageindexchanging="GridView1_PageIndexChanging" PageSize="20">
        <RowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="KhachHangID" HeaderText="MaKH" />
            <asp:BoundField DataField="HoTen" HeaderText="Họ tên" />
            <asp:BoundField DataField="MatKhau" HeaderText="Mật khẩu" />
            <asp:BoundField DataField="DiaChi" HeaderText="Địa chỉ" />
            <asp:BoundField DataField="TinhThanhPho" HeaderText="Tỉnh/ThànhPhố" />
            <asp:BoundField DataField="DienThoai" HeaderText="Điện Thoại" />
            <asp:BoundField DataField="Email" HeaderText="Email" />
            <asp:CommandField ShowEditButton="True" />
            <asp:CommandField ShowDeleteButton="True" ButtonType="Image" 
                DeleteImageUrl="~/images/Deleteicon.png" />
        </Columns>
        <FooterStyle BackColor="#CCCCCC" />
        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
    </asp:GridView>

            </td>
        </tr>
    </table>

</asp:Content>

